export const routes = [
  {
    path: '/activity',
    name: 'activity',
    component: () => import('@/views/home/activity.vue'),
    meta: {
      logoText: '',
      searchVisible: true
    },
    children: [
      // 搜索
      {
        path: '/activity/search',
        name: 'search',
        component: () => import('@/views/search/index'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 分类页面
      {
        path: '/activity/category',
        name: 'category',
        component: () => import('@/views/category/index'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 优惠券商品
      {
        path: '/activity/couponProList',
        name: 'couponProList',
        component: () => import('@/views/promotions/couponProlist/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 类别商品
      {
        path: '/canvasGoods',
        name: 'canvasGoods',
        component: () => import('@/views/canvasGoods/index'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 秒杀专区
      {
        path: '/activity/rabatt',
        name: 'rabatt',
        component: () => import('@/views/promotions/rabatt/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 折扣专区
      {
        path: '/activity/spitze',
        name: 'spitze',
        component: () => import('@/views/promotions/spitze/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 团购
      {
        path: '/activity/groupBuy',
        name: 'groupBuy',
        component: () => import('@/views/promotions/groupBuy/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 领取优惠券
      {
        path: '/activity/coupon',
        name: 'coupon',
        component: () => import('@/views/promotions/coupon/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // vip专区
      {
        path: '/activity/vip',
        name: 'vip',
        component: () => import('@/views/promotions/vip/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 组合捆绑
      {
        path: '/activity/bind',
        name: 'Bind',
        component: () => import('@/views/promotions/bind/index.vue'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      },
      // 公告
      {
        path: '/activity/notificationDetails',
        name: 'notificationDetails',
        component: () => import('@/views/userCenter/messageCenter/notificationDetails'),
        meta: {
          logoText: '',
          searchVisible: false,
          hiddenLogo: true
        }
      }
    ]
  },
]